// pages/life/index.js
Page({
  onLoad(options) {
  let url = "https://devapi.qweather.com/v7/indices/1d?location=113.68,34.80&key=4c64b397a43d4bbfbc23567a0b9f0a30&type=0"
  
  wx.request({
  url,
  success: (e) => {
  let daily = e.data.daily
  this.setData({
  daily
  })
  }
  })
  
  },
})